MailPoet\Newsletter\NewsletterSaveController A

Total Complexity 73
Dependencies 31
Dependents 4
Total lines 440
Lines of code 297
Logical lines of code 196
Comment lines 41
Methods 12
Properties 16

Methods 12

Method Rating Maintainability Complexity Lines of code
duplicate()
A
38 12 66
save()
A
46 12 38
updateNewsletter()
A
49 11 32
updateSegments()
A
50 9 30
updateQueue()
S
52 7 24
rescheduleIfNeeded()
S
55 6 19
updateOptions()
S
54 5 21
createNewsletter()
S
56 3 18
getNewsletter()
S
64 3 10
ensureWpPost()
S
59 2 14
__construct()
S
56 1 18
sanitizeAutomationEmailData()
S
69 2 7